narrowly escape

Translations
échapper de peu
Definitions
To avoid a dangerous or undesirable situation by a very small margin.